import App from './App'
// #ifdef VUE3
import { createSSRApp } from 'vue'
import * as Pinia from 'pinia'
export function createApp() {
  const app = createSSRApp(App)
  app.use(Pinia.createPinia())
  app.config.globalProperties.$onLaunched = new Promise(resolve=>{
  	  app.config.globalProperties.$isResolve = resolve
  })
  return {
    app,
	Pinia,
  }
}
// #endif